﻿using System;
using System.Collections.Generic;
using System.Text;

using Obsidian.Edm;

namespace Oak.Model
{
    public class MsAdminIconInfo : OModel
    {
        
        private LongField itemId;
        private LongField adminId;
        private IntField iconId;
        private DateTimeField created;
        private EntityField<MsIconInfo> icon;

        public MsAdminIconInfo()
        {
            base.InitModel("oak", "MsAdminIcons", new IModelField[]{
                itemId = new LongField(this, "ItemId", "itemId"),
                adminId = new LongField(this, "AdminId", "adminId"),
                iconId = new IntField(this, "IconId", "iconId"),
                created = new DateTimeField(this, "Created", "created"),
                icon = new EntityField<MsIconInfo>(this, "icon")
            });
        }

        public LongField ItemId { get { return itemId; } }
        public LongField AdminId { get { return adminId; } }
        public IntField IconId { get { return iconId; } }
        public DateTimeField Created { get { return created; } }
        public EntityField<MsIconInfo> Icon { get { return icon; } }

    }
}
